<template>
  <div>
    <div  class="mb-4">
      <el-steps style="max-width: 600px" :active="active" finish-status="success">
        <el-step title="Step 1" />
        <el-step title="Step 2" />
        <el-step title="Step 3" />
      </el-steps>

      <el-button style="margin-top: 12px" @click="next">Next step</el-button>
    </div>
    <div class="mb-4">
      <el-button @click="openMsg">Default</el-button>
      <el-button type="primary">Primary
        <el-icon>
          <Search />
        </el-icon>
        <span>搜索</span>
      </el-button>
      <el-button type="success">Success</el-button>
      <el-button type="info">Info</el-button>
      <el-button type="warning">Warning</el-button>
      <el-button type="danger">Danger</el-button>
      <el-input v-model="input" style="width: 240px" placeholder="Please input" />
    </div>
    <!-- <div>
      <el-icon :size="20">
        <Edit />
      </el-icon>
      <el-icon color="#409efc" class="no-inherit">
        <Share />
      </el-icon>
      <el-icon>
        <Delete />
      </el-icon>
      <el-icon class="is-loading">
        <Loading />
      </el-icon>
      <el-button type="primary">
        <el-icon style="vertical-align: middle">
          <Search />
        </el-icon>
        <span style="vertical-align: middle"> Search </span>
      </el-button>
    </div> -->
  </div>
  <!-- <HelloWorld msg="Vite + Vue" /> -->
</template>

<script setup>
import { ElMessage } from 'element-plus'
const openMsg = () => {
  ElMessage('This is a message.')
}
import { ref } from 'vue'
const input = ref('陈玮是个傻逼')
const active = ref(0)

const next = () => {
  if (active.value++ > 2) active.value = 0
}
</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
